window.eColor = window.ec = {
    colors: ["red", "blue", "green"],
    setColor: function (dom) {
        var i = parseInt(Math.random() * 10) % 3;
        $(dom).css("color", this.colors[i]);
    }
}